package com.cnhis.cloudhealth.clinical.hosnurse.hosoffice.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.cnhis.cloudhealth.commons.Mappers.ModelVo;
import com.cnhis.cloudhealth.commons.dao.BaseDao;

@Repository
public class HosOfficeDao extends BaseDao{
	 public List getOfficeName(Map map)throws Exception{
	    	return queryForList("HosOffice.getOfficeName", map);
	    }
	 public List checkOfficeOperationOption(Map map)throws Exception{
		 return queryForList("HosOffice.checkOfficeOperationOption", map);
	 }
	 public List defaultCurrentOffice(Map map)throws Exception{
		 return queryForList("HosOffice.defaultCurrentOffice", map);
	 }
	 public List getCurrentOffice(Map map)throws Exception{
		 return queryForList("HosOffice.getCurrentOffice", map);
	 }
	 public List defaultMedical1(Map map)throws Exception{
		 return queryForList("HosOffice.defaultMedical1", map);
	 }
	 public String getBDN01(Map map)throws Exception{
		 return (String) queryForExtObject("HosOffice.getBDN01", map);
	 }
	 public List defaultMedical0(Map map)throws Exception{
		 return queryForList("HosOffice.defaultMedical0", map);
	 }
	 public List chenckGynecology(Map map)throws Exception{
		 return queryForList("HosOffice.chenckGynecology", map);
	 }
	 public List queryBedSpace(Map map)throws Exception{
		 return queryForList("HosOffice.queryBedSpace", map);
	 }
	 public List queryOfficeList(Map map)throws Exception{
		 return queryForList("HosOffice.queryOfficeList",map);
	 }
	 public List queryBedLevel(Map map)throws Exception{
		 return queryForList("HosOffice.queryBedLevel", map);
	 }
	 public List queryArea(long BCK01B)throws Exception{
		 return queryForList("HosOffice.queryArea", BCK01B);
	 }
	 
	 public List queryProofeadAdviceOffice(Map map)throws Exception{
		 return queryForList("HosOffice.queryProofeadAdviceOffice", map);
	 }
	 
	 public List queryPatientBedLevel(Map map)throws Exception{
		 return queryForList("HosOffice.queryPatientBedLevel", map);
	 }
	 public List patientOutDept(Map map)throws Exception{
		  return queryForList("HosOffice.patientOutDept", map);
	 }
	 public Long patientOutDept1(Map map)throws Exception{
		  return (Long) queryForExtObject("HosOffice.patientOutDept1", map);
	 }
	 public List queryAllOffice()throws Exception{
		 return queryForList("HosOffice.queryAllOffice", null);
	 }
	 public List queryAllWorkRoom()throws Exception{
		 return queryForList("HosOffice.queryAllWorkRoom", null);
	 }
	 public List queryCareLevel()throws Exception{
		 return queryForList("HosOffice.queryCareLevel", null);
	 }
	 public List queryNewArea(Map map)throws Exception{
		 return queryForList("HosOffice.queryNewArea", map);
	 }
	 public List getNewArea(Map map)throws Exception{
		 return queryForList("HosOffice.getNewArea", map);
	 }
	 public List getBedLevel(Map map)throws Exception{
		 return queryForList("HosOffice.getBedLevel", map);
	 }
	 public List getNewOffice(Map map)throws Exception{
		 return queryForList("HosOffice.getNewOffice", map);
	 }
	public List queryNullBed(Map map)throws Exception{
		return queryForList("HosOffice.queryNullBed", map);
	}
	public List queryBed(Map map)throws Exception{
		return queryForList("HosOffice.queryBed", map);
	}

	public void upbcq04a(Map map)throws Exception{
        insert("HosOffice.upbcq04a", map);
    }
	
	public List queryBck01c(Map map)throws Exception{
		return queryForList("HosOffice.queryBck01c", map);
	}

	public void upbck01c(Map map)throws Exception{
        insert("HosOffice.upbck01c", map);
    }
	public List queryBck01d(Map map)throws Exception{
		return queryForList("HosOffice.queryBck01d", map);
	}

	public void upbck01d(Map map)throws Exception{
        insert("HosOffice.upbck01d", map);
    }
	public List getroad(Map map)throws Exception{
		return queryForList("HosOffice.7699", map);
	}
	public List getNotStop(Map map)throws Exception{
		return queryForList("HosOffice.1424", map);
	}
	public List getNotSend(Map map)throws Exception{
		return queryForList("HosOffice.4182", map);
	}
	
}
